package com.CST.vo.cb;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @BelongsProject: cbhs
 * @BelongsPackage: com.CST.vo
 * @Author: lp
 * @CreateTime: 2023-02-17  15:32
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ReportAllBaseCostVO {
    public String pDeptCode;
    public String pDeptName;
    public String deptCode;
    public String deptName;
    public BigDecimal personnel = new BigDecimal(0);               // 人员经费
    public BigDecimal drug = new BigDecimal(0);                    // 药品费
    public BigDecimal sanitaryMaterials = new BigDecimal(0);       // 卫生材料费
    public BigDecimal fixed = new BigDecimal(0);                   // 固定资产折旧费
    public BigDecimal intangible = new BigDecimal(0);              // 无形资产摊销
    public BigDecimal risk = new BigDecimal(0);                    // 提取医疗风险基金
    public BigDecimal other = new BigDecimal(0);                   // 其他费用
    public BigDecimal sum = new BigDecimal(0);

    public BigDecimal directPersonnel = new BigDecimal(0);
    public BigDecimal indirectPersonnel = new BigDecimal(0); // 人员经费
    public BigDecimal totalPersonnel = BigDecimal.ZERO;
    public BigDecimal proportionPersonnel = BigDecimal.ZERO;

    public BigDecimal directDrug = new BigDecimal(0);
    public BigDecimal indirectDrug = new BigDecimal(0);  // 药品费
    public BigDecimal totalDrug = BigDecimal.ZERO;
    public BigDecimal proportionDrug = BigDecimal.ZERO;

    public BigDecimal directSanitaryMaterials = new BigDecimal(0);       // 卫生材料费
    public BigDecimal indirectSanitaryMaterials = new BigDecimal(0);       // 卫生材料费
    public BigDecimal totalSanitaryMaterials = BigDecimal.ZERO;
    public BigDecimal proportionSanitaryMaterials = BigDecimal.ZERO;

    public BigDecimal directFixed = new BigDecimal(0);
    public BigDecimal indirectFixed = new BigDecimal(0); // 固定资产折旧费
    public BigDecimal totalFixed = BigDecimal.ZERO;
    public BigDecimal proportionFixed = BigDecimal.ZERO;

    public BigDecimal directIntangible = new BigDecimal(0);
    public BigDecimal indirectIntangible = new BigDecimal(0);  // 无形资产摊销
    public BigDecimal totalIntangible = BigDecimal.ZERO;
    public BigDecimal proportionIntangible = BigDecimal.ZERO;

    public BigDecimal directRisk = new BigDecimal(0);
    public BigDecimal indirectRisk = new BigDecimal(0);
    public BigDecimal totalRisk = BigDecimal.ZERO;  // 提取医疗风险基金
    public BigDecimal proportionRisk = BigDecimal.ZERO;

    public BigDecimal directOther = new BigDecimal(0);
    public BigDecimal indirectOther = new BigDecimal(0);
    public BigDecimal totalOther = BigDecimal.ZERO;    // 其他费用
    public BigDecimal proportionOther = BigDecimal.ZERO;

    public BigDecimal directSum = new BigDecimal(0);
    public BigDecimal indirectSum = new BigDecimal(0);
    public BigDecimal totalSum = BigDecimal.ZERO;
    public BigDecimal proportionSum = BigDecimal.ZERO;


    public BigDecimal directNot = new BigDecimal(0);
    public BigDecimal indirectNot = new BigDecimal(0);
    public BigDecimal totalNot = BigDecimal.ZERO;



    // 1.开单收入
    private BigDecimal bill = BigDecimal.ZERO;
    // 2.本执本开
    private BigDecimal thisBillThisExe1 = BigDecimal.ZERO;
    // 3.他开本执
    private BigDecimal otherBillThisExe1 = BigDecimal.ZERO;
    // 合计收入 = 开单收入+他开本执   1+3
    private BigDecimal totalInCome = BigDecimal.ZERO;
    // 执行收入小计 = 本执本开+他开本执 2+3
    private BigDecimal totalExe = BigDecimal.ZERO;


}
